import request from '@/api/request'
const {sm} = request.config

// 添加活动类型
export function add(params) {
  return request.get(sm + "/activity/addActivityType", params)
}

// 编辑活动类型 
export function update(params) {
  return request.post(sm + "/activity/updateActivityType", params)
}

// 删除活动类型
export function deleteactiveity(params) {
  return request.post(sm + "/activity/deleteActivityType", params)
}

//活动类型列表
export function list(params) {
  return request.get(sm + "/activity/findActivityType", params)
}
